package com.yc.hotel.mapper;

import java.util.List;
import java.util.Map;

import com.yc.hotel.dto.RoomInfoDTO;
import com.yc.hotel.entity.RoomInfo;


public interface IRoomInfoMapper {

	public int add(RoomInfo rf);

	public int update(Map<String, Object> map);

	public List<RoomInfo> findByPage(Map<String, Object> map);

	public int total(Map<String, Object> map);

	public int updateStatus(Map<String, Object> map);
	
	public RoomInfo findByRno(String rno);

	public List<RoomInfo> finds(Map<String, Object> map);

	public List<RoomInfo> findIndex(Map<String, Object> map);


	public RoomInfoDTO findByRnoF(int rno);

	public int endSale(RoomInfoDTO room);

	public List<RoomInfoDTO> findsF(Map<String, Object> map);

	public int addF(RoomInfoDTO room);
	

}
